package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName ShiftRuleTimeSpace
 * @Description 班组生成规则时间段信息
 * @Author dujianyu
 * @Date 2023/12/1 16:02
 */
@Data
@TableName("shift_rule_time_space")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ShiftRuleTimeSpace对象", description = "班组生成规则时间段信息")
public class ShiftRuleTimeSpace extends TenantEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "规则ID")
    private Long ruleId;

    @ApiModelProperty(value = "码值")
    private Integer code;

    @ApiModelProperty(value = "时间段")
    private String timeSpace;

}
